Skip to content

fix(tools): ContextManager add on missing path upgrades to create#579

Closed
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/context-manager-add-create
Closed

fix(tools): ContextManager add on missing path upgrades to create#579
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/context-manager-add-create

Conversation

@JessicaMulein

Copy link
Copy Markdown

Summary

  • ContextManager add on a path that is not on disk auto-upgrades to create (common on implement turns).
  • Root-level create no longer calls makedirs("").

Test plan

  • pytest cecli/tests/tools/test_context_manager_add_create.py -q

When add targets a path that does not exist yet, create the file instead
of failing editable promotion. Skip makedirs when the parent dir is empty
(root-level files).

Co-authored-by: Cursor <cursoragent@cursor.com>
dwash96 pushed a commit that referenced this pull request Jun 22, 2026
@dwash96

dwash96 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Adding in 0.100.9

@dwash96 dwash96 closed this Jun 22, 2026
@dwash96 dwash96 mentioned this pull request Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants